import request from '@/utils/request'

export function getHouseList(params) {
  return request({
    url: '/House/getCheckList',
    method: 'get',
    params
  })
}

export function getByHouseId(params) {
  return request({
    url: '/House/getByHouseId',
    method: 'get',
    params
  })
}

export function checkApproved(params) {
  return request({
    url: '/House/checkApproved',
    method: 'get',
    params
  })
}

export function offShelf(params) {
  return request({
    url: '/House/offShelf',
    method: 'get',
    params
  })
}

export function modifyHouse(data) {
  return request({
    url: '/House/modifyHouse',
    method: 'post',
    data
  })
}

export function offHouse(params) {
  return request({
    url: '/House/offShelf',
    method: 'get',
    params
  })
}



